package com.iteaj.network.test;

import com.iteaj.network.ProtocolType;
import com.iteaj.network.test.server.line.LineMessage;

/**
 * 报文创造器
 */
public class MessageCreator {

    /**
     * 构建请求客户端的报文
     * @param deviceSn
     * @return
     */
    public static LineMessage lineBuild(String deviceSn, ProtocolType type) {

        return null;
    }

    /**
     * 构建响应客户端的报文
     * @param deviceSn
     * @param type
     * @param request
     * @return
     */
    public static LineMessage lineBuild(String deviceSn, ProtocolType type, LineMessage request) {

        return null;
    }

    /**
     * 构建客户端请求或者客户端响应的报文
     * @param message
     * @return
     */
    public static LineMessage lineBuild(byte[] message) {

        return null;
    }
}
